<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html t:type="Border" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
 <div id="container">
 	<div id="Tbody">
  <div style="text-align:center;">
  <br/>
  
   <!--内容-->
  
  <!--第二步-->
    <form t:type="Form" t:id="frmList" onsubmit="return CheckPost()">
      		    <input name="log_CateID" type="hidden" id="log_CateID" value="3"/>
                <input name="log_editType" type="hidden" id="log_editType" value="0"/>
  				
                <input name="log_IsDraft" type="hidden" id="log_IsDraft" value="False"/>
  	<div id="MsgContent" style="width:700px">
        <div id="MsgHead">在 【${preBlogCategory.cateName}】 发表日志</div>
        <div id="MsgBody">        
          <table width="100%" border="0" cellpadding="2" cellspacing="0">
            <tr>
              <td width="72" height="24" align="right" valign="top"><span style="font-weight: bold">标题:</span></td>
              <td align="left"><input  t:type="TextField" class="inputBox" t:id="blogTitle" value="blogTitle" size="50" maxlength="50"/>
              </td>
              <td width="120" rowspan="3" align="center">
                <div class="LDialog" style="display:block">
                  <div class="LHead">魔法表情</div>
                  <div class="LBody"><a href="javascript:alert('测试版，该功能暂时不可用')">选择魔法表情</a></div>
              </div></td>
            </tr>
            <tr>
              <td height="24" align="right" valign="top"><span style="font-weight: bold">参数:</span></td>
              <td width="517" align="left">
                <select t:id="logIsShow" t:type="SelectValueSame" 
					list="logIsShowBeanList" value="logIsShowBean" labelField="literal:name"></select>
                <select t:type="SelectValueSame" t:id="logWeather"
					list="logWeatherBeanList" value="logWeatherBean" labelField="literal:name"></select>
                <select name="log_Level">
                  <option value="level1">马马虎虎 </option>
                  <option value="level2">普通 </option>
                  <option value="level3" selected="selected">内容不错 </option>
                  <option value="level4">好东西 </option>
                  <option value="level5">非看不可 </option>
                </select>
                <label for="logComorder">评论倒序</label>
                <input t:id="logComorder" t:type="checkbox" value="logComorder" checked="checked" />
        
                <label for="logDisComment">禁止评论</label>
                <input t:id="logDisComment" t:type="checkbox"  value="logDisComment" />
        
                <label for="logIsTop">日志置顶</label>
                <input t:id="logIsTop" t:type="checkbox"  value="logIsTop" />
        
              </td>
            </tr>
            <tr>
              <td height="24" align="right" valign="top">&nbsp;</td>
              <td align="left"><span style="font-weight: bold">来自:</span>
                  <input t:type="TextField" t:id="log_From" value="logFrom" size="12" class="inputBox" />
                  <span style="font-weight: bold">网址:</span>
                  <input t:id="logFromURL" t:type="TextField" value="logFromURL" size="38" class="inputBox" />
                </td>
            </tr>
            <tr>
              <td height="24" align="right" valign="top"><span style="font-weight: bold">发表时间:</span></td>
              <td align="left">
                  <label for="P1"><input name="PubTimeType" type="radio" id="P1" value="now" size="12" checked="checked"/>当前时间</label> 
                  <label for="P2"><input name="PubTimeType" type="radio" id="P2" value="com" size="12" />自定义日期:</label>
                  <input t:type="TextField" t:id="PubTime"  value="pubTime" size="21" class="inputBox" /> (格式:yyyy-mm-dd hh:mm:ss)
                </td>
            </tr>
            <tr>
              <td height="24" align="right" valign="top"><span style="font-weight: bold">Tags:</span></td>
              <td align="left">
                      <input t:id="logTags" t:type="TextField" value="logTags" size="50" class="inputBox" /> <img src="images/insert.gif" alt="插入已经使用的Tag" onclick="popnew('getTags.asp','tag','250','324')" style="cursor:pointer"/> (tag之间用英文的逗号分割)
               </td>
            </tr>
             <tr>
              <td  align="right" valign="top"><span style="font-weight: bold">内容:</span></td>
              <td colspan="2" align="center"><div>
				<span t:type="fckeditor/Editor" value="contentMessage"   height="500px" width="100%" customConfiguration="myConfig" />
				</div></td>
            </tr>
  
          <tr>
              <td  align="right" valign="top"><span style="font-weight: bold">内容摘要:</span></td>
              <td colspan="2" align="left"><div><label for="shC"><input id="shC" name="log_IntroC" type="checkbox" value="1" onclick="document.getElementById('Div_Intro').style.display=(this.checked)?'block':'none'"/>编辑内容摘要</label></div>
              <div id="Div_Intro" style="display:none">
              <div><input type="hidden" id="log_Intro" name="log_Intro" value="" /><input type="hidden" id="log_Intro___Config" value="AutoDetectLanguage=False&amp;DefaultLanguage=zh-cn" /><iframe id="log_Intro___Frame" src="#" width="100%" height="150" frameborder="no" scrolling="no"></iframe></div></div>
              </td>
          </tr>          <tr>
              <td align="right" valign="top" nowrap="nowrap"><span style="font-weight: bold">附件上传:</span></td>
              <td colspan="2" align="left"><iframe src="#" width="100%" height="24" frameborder="0" scrolling="no" border="0" ></iframe></td>
            </tr>
            <tr>
              <td align="right" valign="top"><span style="font-weight: bold">引用通告:</span></td>
              <td colspan="2" align="left"><input name="log_Quote" type="text" size="80" class="inputBox" /><br/>请输入网络日志项的引用通告URL。可以用逗号分隔多个引用通告地址.          </td>
            </tr>
            <tr>
              <td colspan="3" align="center">
                <input name="SaveArticle" type="submit" class="userbutton" value="提交日志" accesskey="S"/>
                <input name="SaveDraft" type="submit" class="userbutton" value="保存为草稿" accesskey="D" onclick="document.getElementById('log_IsDraft').value='True'"/>
                <input name="ReturnButton" type="button" class="userbutton" value="返回" accesskey="Q" onClick="history.go(-1)"/></td>
            </tr>
            <tr>
              <td colspan="3" align="right">
                友情提示:保存草稿后，日志不会在日志列表中出现。只有再次编辑，<b>取消草稿</b>后才显示出来。</td>
            </tr>
           
           </table>
        </div>
  	</div>
  </form>
  <br/> 
 </div>
 </div>
 </div> 
</html>